package com.macro.mall.commission.enums;

/**
 * 变化类型枚举
 *
 * @author xuyanjun
 * @date 2019-12-11
 */
public enum UserBalanceChangeChangeTypeEnum {

    /**
     * 无
     */
    NONE(0, "无"),

    /**
     * 佣金收入
     */
    COMMISSION_INCOME(5, "佣金收入"),

    /**
     * 提现
     */
    WITHDRAWAL(100, "提现");
    /**
     * 值
     */
    private int value;

    /**
     * 描述
     */
    private String description;

    UserBalanceChangeChangeTypeEnum(int value, String description) {
        this.value = value;
        this.description = description;
    }

    public int getValue() {
        return value;
    }

    public String getDescription() {
        return description;
    }

}
